package com.cs543.j.client;

import java.net.MalformedURLException;
import java.net.URL;
import java.text.DateFormat;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;

import com.cs543.j.client.cloudService.LocalClient;
import com.cs543.j.client.cloudService.storage.LocalStorage;
import com.cs543.j.client.service.LocalService;

import android.app.Application;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.util.Log;

public class MobileCloudClient extends Application {
	
	public static String clientName;
	public static TCPClient m_udpClient;
	public static Context context;

	public MobileCloudClient() {
		super();
		
		MobileCloudClient.clientName = null;
		m_udpClient = new TCPClient();
		
	}

	public static LocalStorage localtorage;

	@Override
	public void onCreate() {
		super.onCreate();
		context = getApplicationContext();
		this.startService(new Intent(this, LocalService.class));

	}
	
	

}
